package com.mt.roll.wms.vo;

import com.mt.roll.core.vo.CommonVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @auther why
 * @date 2021/9/26 14:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "当前库存存储箱信息视图对象", description = "用于查询当前库存存储箱信息")
public class StorageBoxCircInfoVo extends CommonVo implements PageVo.ConvertVo {

    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", example = "1")
    private Long id;

    /**
     * 存储箱号
     */
    @ApiModelProperty(value = "存储箱号", example = "20211131221105")
    private String code;

    /**
     * 库位id
     */
    @ApiModelProperty(value = "库位id", example = "1")
    private Long currLocationId;

    /**
     * 存储箱id
     */
    @ApiModelProperty(value = "存储箱id", example = "1")
    private Long storageBoxId;

    /**
     * 存储箱code pat用一用，后续重新规划到时候吧storageBoxCircInfoVo.setStorageBoxCode(storageBoxServiceBiz.getById(one.getStorageBoxId()).getCode());删除就行了
     */
    @ApiModelProperty(value = "存储箱code", example = "1")
    private String storageBoxCode;

    /**
     * 存储箱状态
     */
    @ApiModelProperty(value = "存储箱状态（状态 0初始化，1损坏）", example = "0")
    private Integer status;

    /**
     * 库位名称
     */
    @ApiModelProperty(value = "库位名称", example = "YQ110")
    private String currLocation;

    /**
     * 库位编码
     */
    @ApiModelProperty(value = "库位编码", example = "1")
    private String currLocationName;

    /**
     * 是否有基板
     */
    @ApiModelProperty(value = "是否有基板（是否为空 0否，1有）", example = "0")
    private Integer isEmpty;

    /**
     * 工单号，00B下发到00A工单编码
     */
    @ApiModelProperty(value = "工单号，00B下发到00A工单编码", example = "0")
    private String workOrderNo;

}
